import os

a = 0
for i in range(46, 200, 5):
    a += 1

    jar_cmd = 'java' + ' -jar ' + 'gdrive.jar '
    cmd = 'nohup ' + jar_cmd + str(i) + ' > ' + './gdriver_log/' + str(i) + ".log &"
    # print(cmd)
    os.system(cmd)
print(a)
# os.system()


"nohup java  -Xmx2g -Xms2g -jar  gdrive.jar  26 &"
